<%-- 
    Document   : TeamEvaluation
    Created on : Jan 7, 2012, 12:07:04 AM
    Author     : Priyanka
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<br/>
<table>
    <tr>
        <td>
            <img src="<s:url value="/img/icons/certificate_new.png"/>"> 
        </td>
        <td>
            <span class="title">
                Evaluate students
            </span>
        </td>
    </tr>
</table>
<br/><br/> 
<s:form namespace="evaluation" action="teamEvaluation">
    </br></br>
    <b>Select Team for Evaluation :- &nbsp;&nbsp;</b>

    <select name="teamlist"  id="listTeam" >  
        <option value= "team1" >team1</option>  
        <option value= "team2" >team2</option>
        <option value= "team3" >team3</option>
        <option value= "team4" >team4</option>
    </select>



    </br>
    </br>  </br></br>

    <%int i = 1;%>
    Below are the Assessment Items Module :-</br></br></br>
    <table border="2">
        <tr>
            <th>Srno</th>
            <th>Assessment Description</th>                
            <th>Assessment Weight</th>                
            <th>Maximum Marks</th>                
            <th>Minimum Marks</th>                
            <!--                <th>Evaluation Item Details</th>-->
        </tr>  
        <%--   <c:forEach var="assessment" items="${requestScope.assessmentItems}">--%>
        <tr>
            <td>
                <%=i%>
                <%i++;%>
            </td>
            <td>
                <!--print the assessment details from the database-->
                assessment.description
            </td>
            <td>
                <!--print the assessment details from the database-->
                assessment.weigth
            </td>
            <td>
                <!--print the assessment details from the database-->
                max
            </td>
            <td>
                <!--print the assessment details from the database-->
                min
            </td>
        </tr>
        <%--  </c:forEach>--%>
    </table>
    <% i = 1;%>
    </br></br>
    <table border="2">
        <tr>
            <th>Srno</th>
            <th>Evaluation Marks</th>                
            <!--                <th>Evaluation Item Details</th>-->
        </tr> 
        <tr>
            <td>
                <%=i%>
                <%i++;%>
            </td>
            <td><s:textfield name="evaluationitem.marks" size="30" readonly="update"/> 
        <s:fielderror><s:param>evaluationitem.mark</s:param></s:fielderror></td>
        </td>

        </tr>

    </table>
    </br></br>
    <s:submit label="button.label.submit"/>
    &nbsp;&nbsp;&nbsp;
    <s:submit key="button.label.cancel" value="Cancel"/>
</s:form>

